package com.lswms.modules.lswms.dto.base;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * ${comments}
 *
 * @author DX sunlightcs@gmail.com
 * @since 1.0.0 2021-06-06
 */
@Data
@ApiModel(value = "${comments}")
public class SkuDTO implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "$column.comments")
	private Long id;

	@ApiModelProperty(value = "商品编码")
	private String sku;

	@ApiModelProperty(value = "商品名称")
	private String descr;

	@ApiModelProperty(value = "包装")
	private String pack;

	@ApiModelProperty(value = "分类")
	private String sort;

	@ApiModelProperty(value = "单位")
	private String unit;

	@ApiModelProperty(value = "重量")
	private Integer weight;

	@ApiModelProperty(value = "长度")
	private Integer length;

	@ApiModelProperty(value = "宽度")
	private Integer width;

	@ApiModelProperty(value = "高度")
	private Integer height;

	@ApiModelProperty(value = "批次规则")
	private String lotrule;

	@ApiModelProperty(value = "唯一码管理")
	private String isuniquecode;

	@ApiModelProperty(value = "物料状态")
	private String status;

	@ApiModelProperty(value = "上架策略")
	private String strategykey;
	
	@ApiModelProperty(value = "上架区")
	private String zonecode;
	
	@ApiModelProperty(value = "分配策略")
	private String allocationstrategy;

	@ApiModelProperty(value = "备用字段1")
	private String reserve1;

	@ApiModelProperty(value = "备用字段2")
	private String reserve2;

	@ApiModelProperty(value = "备用字段3")
	private String reserve3;

	@ApiModelProperty(value = "备用字段4")
	private String reserve4;

	@ApiModelProperty(value = "备用字段5")
	private String reserve5;
	
	@ApiModelProperty(value = "周转")
	private String rolateby;
	
	@ApiModelProperty(value = "创建人")
	private String adduser;

	@ApiModelProperty(value = "创建时间")
	private Date addtime;

	@ApiModelProperty(value = "更新人")
	private String updatuser;

	@ApiModelProperty(value = "更新时间")
	private Date updatetime;

	@ApiModelProperty(value = "规格")
	private String specs;

	@ApiModelProperty(value = "是否消耗品")
	private String isconsumable;
  
	@ApiModelProperty(value = "价格")
	private BigDecimal price;
    
	@ApiModelProperty(value = "生成厂家")
	private String factory;
    
	@ApiModelProperty(value = "厂家条码")
	private String factorycdoe;
    
	@ApiModelProperty(value = "名称")
	private String name;
    
	@ApiModelProperty(value = "安全库存")
	private BigDecimal safetyqty;
    
	@ApiModelProperty(value = "精度等级")
	private String accuracyclass;
    
	@ApiModelProperty(value = "有效期天数")
	private BigDecimal effectlife;
    
	@ApiModelProperty(value = "提前预警天数")
	private BigDecimal warningdays;
	
	@ApiModelProperty(value = "流水号")
	private String serialnumber;
	
	@ApiModelProperty(value = "最低库存")
	private Integer minimum;

	@ApiModelProperty(value = "单价")
	private Integer unitprice;

	@ApiModelProperty(value = "产品代号")
	private String product;
}